package Bean;
import org.litepal.crud.DataSupport;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
//��֯��POJO��
public class Organization extends DataSupport  implements Serializable{
	private String oaccount;
	private String odesc;
	private String oname;
	private int oid;
	private List<Member> members=new ArrayList<Member>();
	private String opassword;
	
	
	public Organization() {
	}

	public Organization(String oaccount, String opassword, String odesc, String oname) {
		this.oaccount = oaccount;
		this.opassword = opassword;
		this.odesc = odesc;
		this.oname = oname;
	}

	public int getOid() {
		return oid;
	}

	public void setOid(int oid) {
		this.oid = oid;
	}

	public String getOaccount() {
		return oaccount;
	}

	public void setOaccount(String oaccount) {
		this.oaccount = oaccount;
	}

	public String getOpassword() {
		return opassword;
	}

	public void setOpassword(String opassword) {
		this.opassword = opassword;
	}

	public String getOdesc() {
		return odesc;
	}

	public void setOdesc(String odesc) {
		this.odesc = odesc;
	}

	public String getOname() {
		return oname;
	}

	public void setOname(String oname) {
		this.oname = oname;
	}

	public List<Member> getMembers() {
		return members;
	}

	public void setMembers(List<Member> members) {
		this.members = members;
	}

	@Override
	public String toString() {
		return "Organization{" +
				"oid=" + oid +
				", oaccount='" + oaccount + '\'' +
				", opassword='" + opassword + '\'' +
				", odesc='" + odesc + '\'' +
				", oname='" + oname + '\'' +
				", members=" + members +
				'}';
	}
}
